Skip to content

Conversation

@soda92
Copy link

@soda92 soda92 commented Oct 24, 2024

Once at a time I switched to jedi language server but find it didn't work.

I checked the error and find that the error was:

  File "***data\extensions\ms-python.python-2024.16.1-universal\python_files\lib\jedilsp\jedi\inference\__init__.py", line 91, in __init__
    self.grammar = environment.get_grammar()
                   ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "***data\extensions\ms-python.python-2024.16.1-universal\python_files\lib\jedilsp\jedi\cache.py", line 112, in wrapper
    result = method(self, *args, **kwargs)
  File "***data\extensions\ms-python.python-2024.16.1-universal\python_files\lib\jedilsp\jedi\api\environment.py", line 37, in get_grammar
    return parso.load_grammar(version=version_string)
           ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "***data\extensions\ms-python.python-2024.16.1-universal\python_files\lib\jedilsp\parso\grammar.py", line 264, in load_grammar
    raise NotImplementedError(message)
NotImplementedError: Python version 3.13 is currently not supported.

I tracked down and find that parso 0.8.4 added python3.13 support

So the dependencies needs to be updated

@soda92
Copy link
Author

soda92 commented Oct 24, 2024

@microsoft-github-policy-service agree

@soda92 soda92 changed the title update jedi dependencies update jedi dependencies to add python 3.13 support Oct 24, 2024
@soda92
Copy link
Author

soda92 commented Oct 24, 2024

@karthiknadig karthiknadig self-requested a review October 24, 2024 06:36
@karthiknadig karthiknadig self-assigned this Oct 24, 2024
@karthiknadig karthiknadig added the debt Covers everything internal: CI, testing, refactoring of the codebase, etc. label Oct 24, 2024
@vs-code-engineering vs-code-engineering bot added this to the November 2024 milestone Oct 28, 2024
@karthiknadig karthiknadig enabled auto-merge (squash) October 28, 2024 18:59
@karthiknadig karthiknadig merged commit b428ba5 into microsoft:main Oct 28, 2024
48 checks passed
@soda92 soda92 deleted the update-python-deps branch October 28, 2024 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debt Covers everything internal: CI, testing, refactoring of the codebase, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants